﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Resources;
using Path = System.Windows.Shapes.Path;
using System.Windows.Controls;

namespace Sonce.Editor
{
	public partial class Editor
	{
		#region Selection
		public const double HitTestWidth = 8.0;

		public void HitTest()
		{
			// http://www.shinedraw.com/animation-effect/silverlight-vs-flash-drive-games-with-hit-testing
			// http://msdn.microsoft.com/en-us/library/ms752097.aspx
			// http://msdn.microsoft.com/en-us/library/ms748343.aspx
			//Get all the elements on that point
			//List<UIElement> hits = VisualTreeHelper.FindElementsInHostCoordinates()
		}

		//protected double LineHitTestWidth
		//{
		//    get
		//    {
		//        // Ensure that hit test area is not too narrow
		//        return Math.Max(8.0, ActualLineWidth);
		//    }
		//}


		#endregion
	}
}
